Skip to content

chore: clear the template example code but keep its files (IN-1.3) - #23

Open
Akadib wants to merge 1 commit into
diffpy:mainfrom
Akadib:in-1-3-remove-template
Open

Akadib wants to merge 1 commit into
diffpy:mainfrom
Akadib:in-1-3-remove-template

Conversation

@Akadib

@Akadib Akadib commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

This Closes #5 since I removed the scikit-package example code (dot_product and its tests) but keept functions.py and tests/test_functions.py, with their imports, for later use. Then rebuilt the API docs with package build api-doc, which removes example_package.rst. @sbillinge ready for review!

@codecov

codecov Bot commented Dec 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.85%. Comparing base (664072e) to head (461148a).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #23       +/-   ##
===========================================
- Coverage   79.54%   67.85%   -11.69%     
===========================================
  Files           4        4               
  Lines          44       28       -16     
===========================================
- Hits           35       19       -16     
  Misses          9        9               
Files with missing lines Coverage Δ
tests/test_functions.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Akadib Akadib added this to the 0.1.0: read, show, label, store milestone Dec 1, 2026
@Akadib Akadib self-assigned this Dec 1, 2026

@sbillinge sbillinge left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't noqa things to make test pass. Just delete these modules that you don't need any more.

32.0
"""
return float(np.dot(a, b))
import numpy as np # noqa: F401

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't noqa things please. If you don't need this module any more, just delete it. Well, you don't need it. If in the future you want a functions.py you can remake it at zero cost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: remove the template example code (IN-1.3)

2 participants